package collection;

/**
 * @author Created by chenxin34 on 2019/6/24 上午11:12.
 */
public class NormalArrayTest {
    public static void main(String[] args) {
        int m = 3, n = 2;
        int[][] a = new int[m][n];
        new NormalArrayTest().testForEach(a);
        System.out.println("end");
    }

    public void testForEach(int[][] a) {
        for (int i = 0; i < a.length; i++) {
            int size =  a[i].length;
            for (int j = 0; j < size; j++) {

                System.out.println("a[i][j]=" + a[i][j]);
            }
        }
    }
}
